package com.smart.oauth2.controller;

import lombok.extern.java.Log;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class CallbackController {

    @GetMapping("/back")
    public String back(String code) {
        log.info(code);
        return code;
    }
}
